package com.weixing.mall.provider.model.dto;

import com.weixing.mall.base.enums.WhetherEnum;
import com.weixing.mall.provider.model.enums.DepotTypeEunm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ClassName InDepotBillDto
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/10/22
 * @Version 1.0
 **/
@Data
@ApiModel(description = "入库单")
public class InDepotBillDto {

    @ApiModelProperty(value = "入库单id")
    private Long id;
    @ApiModelProperty(value = "调入仓库")
    private Long inputDepot;
    @ApiModelProperty(value = "调出仓库")
    private Long outputDepot;
    @ApiModelProperty(value = "入库类型")
    private DepotTypeEunm inDepotType;
    @ApiModelProperty(value = "入库单号")
    private String billSn;

    private WhetherEnum isFinish;

    // 关联的商品
    @ApiModelProperty(value = "关联的商品list")
    private List<InDepotBillProductDto> products;
}
